<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>obj</title>
</head>
<body>
    
    <script>
        
        {
             
            let obj = {n:1};
            let o = obj;
            obj.m = {n:2};
            obj = {n:2};// 值得注意的是 这一步 只要是 
            console.log(obj);
            console.log(o);

        }
    
    </script>


</body>
</html>